Empirical likelihood for a one sample mean vector hypothesis testing.
el.test1(x, mu, R = 1, ncores = 1, graph = FALSE)
A matrix containing Euclidean data.
The hypothesized mean vector.
If R is 1 no bootstrap calibration is performed and the classical p-value via the
The number of cores to use, set to 1 by default.
A boolean variable which is taken into consideration only when bootstrap calibration is performed. IF TRUE the histogram of the bootstrap test statistic values is plotted.
A list with the outcome of the function el.test
which includes
the -2 log-likelihood ratio, the observed P-value by chi-square approximation, the final value of Lagrange multiplier
Multivariate hypothesis test for a one sample mean vector. This is a non parametric test and it works for univariate and multivariate data.
Owen, A. (1990). Empirical likelihood ratio confidence regions. Annals of Statistics, 18, 90-120.
Owen A. B. (2001). Empirical likelihood. Chapman and Hall/CRC Press.
eel.test1, hotel1T2, james, hotel2T2, maov, el.test2, comp.test
# NOT RUN {
x <- Rfast::rmvnorm(100, numeric(10), diag( rexp(10, 0.5) ) )
el.test1(x, mu = numeric(10) )
eel.test1(x, mu = numeric(10) )
# }
Run the code above in your browser using DataLab